package com.weiaibenpao.demo.chislim.sport.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wlx on 2017/8/28.
 */

public class RegionRecordBean {

    /**
     * code : 0
     * msg : 成功
     * data : {"xingzhengSportlist":[{"address":"北京","distance":15,"yudingDistance":13,"totalTime":12653,"xingzhengId":1,"start":"120","end":"156","id":1,"time":4326,"totalDistance":23,"type":3}],"extra":{"totalSize":1,"size":20,"totalPage":1,"page":0}}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * xingzhengSportlist : [{"address":"北京","distance":15,"yudingDistance":13,"totalTime":12653,"xingzhengId":1,"start":"120","end":"156","id":1,"time":4326,"totalDistance":23,"type":3}]
         * extra : {"totalSize":1,"size":20,"totalPage":1,"page":0}
         */

        private ExtraBean extra;
        private List<RegionDataBean> xingzhengSportlist;

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public List<RegionDataBean> getXingzhengSportlist() {
            return xingzhengSportlist;
        }

        public void setXingzhengSportlist(List<RegionDataBean> xingzhengSportlist) {
            this.xingzhengSportlist = xingzhengSportlist;
        }

        public static class ExtraBean {
            /**
             * totalSize : 1
             * size : 20
             * totalPage : 1
             * page : 0
             */

            private int totalSize;
            private int size;
            private int totalPage;
            private int page;

            public int getTotalSize() {
                return totalSize;
            }

            public void setTotalSize(int totalSize) {
                this.totalSize = totalSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }
        }

        public static class RegionBean implements Serializable {
            /**
             * address : 北京
             * distance : 15
             * yudingDistance : 13
             * totalTime : 12653
             * xingzhengId : 1
             * start : 120
             * end : 156
             * id : 1
             * time : 4326
             * totalDistance : 23
             * type : 3
             */
            private String area;
            private double distance;
            private double yudingDistance;
            private long totalTime;
            private int xingzhengId;
            private String start;
            private String end;
            private int id;
            private long time;
            private double totalDistance;
            private int type;
            private String city;

            private String province;

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public void setTotalTime(long totalTime) {
                this.totalTime = totalTime;
            }

            public void setTotalDistance(double totalDistance) {
                this.totalDistance = totalDistance;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }

            public double getYudingDistance() {
                return yudingDistance;
            }

            public void setYudingDistance(double yudingDistance) {
                this.yudingDistance = yudingDistance;
            }

            public long getTotalTime() {
                return totalTime;
            }

            public void setTotalTime(int totalTime) {
                this.totalTime = totalTime;
            }

            public int getXingzhengId() {
                return xingzhengId;
            }

            public void setXingzhengId(int xingzhengId) {
                this.xingzhengId = xingzhengId;
            }

            public String getStart() {
                return start;
            }

            public void setStart(String start) {
                this.start = start;
            }

            public String getEnd() {
                return end;
            }

            public void setEnd(String end) {
                this.end = end;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }

            public double getTotalDistance() {
                return totalDistance;
            }

            public void setTotalDistance(int totalDistance) {
                this.totalDistance = totalDistance;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
